package cn.smdq.ch.upms.admin;

import cn.smdq.ch.common.core.config.redis.EnableRedisEnhance;
import cn.smdq.ch.common.core.config.swagger.EnableSwagger2Enhance;
import cn.smdq.ch.common.core.exception.EnableExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Description TODO
 * @Author shuimodanqing
 * @Date 2019/1/18  4:33 PM
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableRedisEnhance
@MapperScan(basePackages = "cn.smdq.ch.upms.admin.base.mapper")
@EnableSwagger2Enhance
@EnableExceptionHandler
public class UPMSAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(UPMSAdminApplication.class, args);
    }
}
